﻿/// <summary>
/// 绑定通知总线
/// </summary>

namespace Marmat.Forms
{
    public interface IBindingFieldNotificationBus
    {
        /// <summary>
        /// 订阅
        /// </summary>
        /// <param name="field"></param>
        void Subscription(string columnName, IBindingFieldNotification field);

        /// <summary>
        /// 取消订阅
        /// </summary>
        /// <param name="field"></param>
        void Unsubscribe(IBindingFieldNotification field);
    }
}